#!/bin/bash

if [ ! -f /tmp/lock_populate_xenia_nws ]; then
  touch /tmp/lock_populate_xenia_nws
  #`../misc/xml2env.pl`
  ./mk_sql_for_xenia.pl nws 24 debug | psql -U rcoosx -d rcoos
#  ./populate_latest_obs_by_station_id &
#  ./xenia_sqlite_to_obskml.pl nws
 # ./obskml_to_html_content_sqlite.pl nws
  rm -f /tmp/lock_populate_xenia_nws
fi
